﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>日期选择器</title>
    <link href="jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" />
</head>
<body>
    <input type="text" id="txtBirthday" />

    <script src="scripts/jquery-1.11.0.min.js"></script>
    <script src="jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.min.js"></script>
    <script src="jquery-ui-1.10.4.custom/js/jquery-ui-datepicker-zh-CN.js"></script>
    <script type="text/javascript">
        $(function () {
            $("#txtBirthday").datepicker(
                {
                    changeYear: true,           // 允许直接更换年份
                    changeMonth: true,          // 允许直接更换月份

                });
        });
    </script>
</body>
</html>
